﻿<template>
	<div style="padding:0px;">
		<el-form :model="dialogForm" :rules="rules" ref="dialogForm" :label-width="formLabelWidth">
		<el-card class="box-card">
		  
		  <div  class="text item">
			
			  	<div slot="header" class="clearfix">
		          <span style="line-height: 30px;">补充资料管理</span>
		        </div>
			    <el-form-item label="公司名称" >
			      <el-input v-model="dialogForm.qckx" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="营业执照扫描件" >
			      <qiniu></qiniu>
			    </el-form-item>
			    <el-form-item label="开户许可证" >
			      <qiniu></qiniu>
			    </el-form-item>
			    <el-form-item label="银行信用代码证" >
			      <qiniu></qiniu>
			    </el-form-item>
			    <el-form-item label="法人姓名" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="法人手机号码" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="法人邮箱" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			     <el-form-item label="法人身份证" >
			      <qiniu></qiniu>
			    </el-form-item>
			    <el-form-item label="实际控制人姓名" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="实际控制人手机号码" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="实际控制人身份证" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="实际控制人身份证照片" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="企业类别" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="统一社会信用代码" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="注册资本(万元)" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="注册地址省市区" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="注册详细地址" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="经营地址省市区" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="经营详细地址" >
			      <el-input v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="营业范围" >
			      <el-input type="textarea" :rows=3 v-model="dialogForm.qcsl" auto-complete="off" ></el-input>
			    </el-form-item>
			    <el-form-item label="企业经营场地照片" >
			      <qiniu></qiniu>
			    </el-form-item>
			    <el-form-item label="申明书" >
			      <qiniu></qiniu>
			    </el-form-item>
			    
			</div>
		</el-card>
	    
		<div style="text-align:right;margin-top:15px;">
			 <el-button @click="returnBack">返 回</el-button>
			 <el-button  type="primary" @click="submitConfirmForm('dialogForm')">提 交</el-button>
		</div>
		</el-form>
	</div>
</template>
<script>
    import router from '@/router';
    import qiniu from '@/views/qiniu/upload'
	export default{
		created(){
   
        },
		props:['suppleDialogFormVisible','tableData'],
		components:{qiniu},
		data(){
			
			return{
				formLabelWidth:'170px',
				//弹窗或者查看页面信息
		        dialogForm:{
		          qcsl:"",
		          qckx:"",
		          qcys:"",
		          zdj_pz:"",
		          qczjg:"",
		          dzje:"",
		          resource:""
		        },
		        rules: {
		          name: [{ required: true, message: '请输入经销商名称', trigger: 'blur' }],
		          qckx:[{ required: true, message: 'qckx', trigger: 'blur' }]
		        },
			}
		},methods:{
			returnBack(){
				this.suppleDialogFormVisible.dialogVisible=false;
			},
			submitConfirmForm(formName){
				//this.isAdd=false;
                this.$refs[formName].validate((valid) => {
		          if (valid) {
		          	this.suppleDialogFormVisible.dialogVisible=false;
		            alert('submit!');
		          } else {
		            console.log('error submit!!');
		            return false;
		          }
		        });
			}
		}
	};
	
</script>